{include file="public/same_header" /}

<!-- 右侧的开始 -->
<div class="right_bar jianchajilu jueseguanli ">
    {include file="public/go_back" /}
    <div class="jcjl_detail">
        <div class="top_dec">
            <div>
                <span class="theme">{$breadcrumb}</span>
                <div class="search_box btn-permission">
                    <em><a href="{:url('authority/addrole',array('upid'=>0))}">新建角色</a></em>
                </div>
            </div>
        </div>
        <div class="data">
            <!-- 下面的   列表 开始  -->
            <div class="liebiao">

                <div class="liebiao_dec">
                    <div class="liebiao_top">
                        <strong class="first">角色名称</strong>
                        <!--<strong class="second">管理等级</strong>-->
                        <strong class="third">职能描述</strong>
                        <strong class="forth">成员数量</strong>
                        <strong class="fifth">操作</strong>
                    </div>
                    <ul>

                        {foreach name="list" item="v"}
                        <li>
										<span class="first">
											<em> {$v['rolename']}</em>
										</span>
										<!--<span class="second">
											<em> {$v['level']}</em>
										</span>
-->
										<span  class="forth">
											<em> {$v['comment']}</em>
										</span>
										<span class="fifth">
										    {$v['count_admin']}
										</span>
										<span class="">
											 <a  class="btn-permission" href="{:url('authority/editrole',array('id'=>$v['id']))}">编辑</a>
                                        <a href="{:url('authority/setrole',array('id'=>$v['id']))}">
                                           设置权限
                                        </a>
                                                 <a  class="a-post" post-msg="你确定要删除吗" post-url="{:url('authority/deleterole',array('id'=>$v['id']))}">
                                                     <input type="button" class="btn-permission" value="删除">
                                                 </a>
										</span>
                        </li>
                        {/foreach}




                    </ul>
                </div>
            </div>
            <!-- 列表的结束 -->

            {include file="public/page" /}
        </div>
    </div>
</div>
<!-- 右侧的结束 -->
</div>
</div>
{include file="public/footer" /}